package com.nuumoblie.bluetoothtools.bt;

import android.bluetooth.BluetoothDevice;

import java.util.ArrayList;
import java.util.List;

public class DevicesLists {

    private List<BluetoothDevice> mAllDevices = new ArrayList<>();
    private List<BluetoothDevice> mUnBondedDevices = new ArrayList<>();
    private List<BluetoothDevice> mBondedDevices = new ArrayList<>();

    public DevicesLists() {

    }

    public void addDevices(BluetoothDevice device){
        if (device==null) return;
        mAllDevices.add(device);
    }

    public List<BluetoothDevice> getAllDevices(){
        return mAllDevices;
    }

    public void clear() {
        mAllDevices.clear();
        mUnBondedDevices.clear();
        mBondedDevices.clear();
    }
}
